package com.rpc.demo;


import com.rpc.demo.provider.Provider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Provider1 {

	public static void main(String[] args) {
		SpringApplication.run(Provider1.class, args);
		Provider provider1 = new Provider();
		Provider provider2 = new Provider();
		provider1.Start("127.0.0.1:12000", "BookService");
	}

}
